package com.healthbox.resultsservice.mapper;

import com.healthbox.resultsservice.entity.HospitalNotice;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface TOadminNoticesMapper {

    int create(HospitalNotice hospitalNotice);

    int update(HospitalNotice hospitalNotice);

    int delete(@Param("noticeId") Long noticeId);

    List<HospitalNotice> retrieve(@Param("hospital_id") Long hospital_id);

    Long checkHospital(@Param("userPhone") String userPhone);

}
